package com.meizi.drop.hellodemo.runnable;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * @author meizi
 * @email enjoymeizi@gmail.com
 * @date 2021/1/13 10:19
 */
@Slf4j
@Component
public class HelloRunnable implements ApplicationRunner {
    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("服务自启");
    }
}
